<%--
    社团管理员页面头部
    Author: scm
    Date: 2023-12-12
    Version: 1.0
--%>
<%--
    需要的数据
    sessionScope.clubAdministrator
--%>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ page session="true" %>
<%@ page contentType="text/html; charset=UTF-8" %>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link rel="stylesheet" href="<c:url value="/resources/css/bootstrap.css"/>">
  <link rel="stylesheet" href="<c:url value="/resources/css/clubStyle.css"/>">
  <title>校园社团管理系统</title>
</head>
<body>
  <!-- 顶部导航栏 -->
  <nav class="navbar navbar-expand-lg bg-dark fixed-top" data-bs-theme="dark">
    <div class="container-fluid">
      <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
        <span class="navbar-toggler-icon"></span>
      </button>
      <div class="collapse navbar-collapse" id="navbarNavDropdown">
        <ul class="navbar-nav">
          <li class="nav-item">
            <a class="nav-link" aria-current="page" href="<c:url value="../clubAdministrator/index"/>">首页</a>
          </li>
          <li class="nav-item">
            <a class="nav-link" href="<c:url value="../clubAdministrator/users"/>">成员列表</a>
          </li>
          <li class="nav-item">
            <a class="nav-link" href="<c:url value="../clubAdministrator/membershipApplications"/>">入社审批</a>
          </li>
          <li class="nav-item dropdown">
            <a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">
              活动管理
            </a>
            <ul class="dropdown-menu">
              <li><a class="dropdown-item" href="<c:url value="../clubAdministrator/activities"/>">活动列表</a></li>
              <li><a class="dropdown-item" href="<c:url value="../clubAdministrator/activityApplication"/>">活动申请</a></li>
            </ul>
          </li>
          <li class="nav-item dropdown">
            <a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">
                公告管理
            </a>
            <ul class="dropdown-menu">
                <li><a class="dropdown-item" href="<c:url value="../clubAdministrator/announcements"/>">公告列表</a></li>
                <li><a class="dropdown-item" href="<c:url value="../clubAdministrator/publishAnnouncement"/>">发布公告</a></li>
            </ul>
          </li>
          <li class="nav-item dropdown">
              <a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">
                信息管理
              </a>
              <ul class="dropdown-menu">
                <li><a class="dropdown-item" href="<c:url value="../clubAdministrator/accountInfo"/>">账号信息</a></li>
                <li><a class="dropdown-item" href="<c:url value="../clubAdministrator/clubInfo"/>">社团信息</a></li>
              </ul>
          </li>
        </ul>
      </div>
      <span class="welcome">welcome&nbsp;&nbsp;</span>
      <div class="nav-item dropdown">
        <a class="nav-link dropdown-toggle welcome" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">
          ${sessionScope.clubAdministrator.nickname}
        </a>
        <ul class="dropdown-menu">
          <li><a class="dropdown-item " href="<c:url value="../clubAdministrator/logout"/>">退出登录</a></li>
        </ul>
      </div>
    </div>
  </nav>
</body>
</html>